package com.haikesi.api.subscribertable.domain.vo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;

/**  
 * @ClassName:  SubscriberTableVo 
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: zqy     
 * @date:   2019年5月16日 上午9:13:06   
 * @version V1.0 
 * @Copyright: 2019 重庆海克斯科技有限公司. 
 * 注意：本内容仅限于重庆海克斯科技有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
@ApiModel(description = "查询结果")
@Data
@EqualsAndHashCode(callSuper = false)
public class SubscriberTableVo implements Serializable{
	
	private static final long serialVersionUID = -1L;
	
	@ApiModelProperty(value = "id")
    private String id;

	/**
	 * 1订阅账号  2新增账号
	 */
	@Column(name = "subscriber_type")
	private Integer subscriberType;
	
	@ApiModelProperty(value = "订阅的账号")
    private String subscriberNumber;
	
	@ApiModelProperty(value = "订阅状态（0：未发送订阅；1：已发送订阅；2：订阅成功；3：订阅失败）")
    private Integer subscriberState;
	
	@ApiModelProperty(value = "上一次调用更新设备时间")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastCreatTime;
	
	@ApiModelProperty(value = "账号描述")
    private String remarks;
	
	@ApiModelProperty(value = "组织机构名称")
    private String organizationName;
	
	@ApiModelProperty(value = "第三方回调地址")
    private String callbackUrl;
	
	@ApiModelProperty(value = "组织机构ID")
    private String organizationId;



	@ApiModelProperty(name = "帐户名称")
	private String userName;
	@ApiModelProperty(name = "帐户密码")
	private String password;
	@ApiModelProperty(name = "帐户手机")
	private String userPhone;
	@ApiModelProperty(name = "帐户身份证号")
	private String idNo;
	@ApiModelProperty(name = "性别（1.男 2女）")
	private String gender;
	@ApiModelProperty(name = "账号邮箱")
	private String email;

	@ApiModelProperty(name = "区域编号省")
	private String area_code1;
	@ApiModelProperty(name = "区域编号市")
	private String area_code2;
	@ApiModelProperty(name = "区域编号县")
	private String area_code3;
	@ApiModelProperty(name = "区域编号省")
	private String areaCodeName1;
	@ApiModelProperty(name = "区域编号市")
	private String areaCodeName2;
	@ApiModelProperty(name = "区域编号县")
	private String areaCodeName3;
	
	
	
}
